package library.admin.domain.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 用户视图对象
 */
@Data
public class UserVO implements Serializable {
    
    @ApiModelProperty("用户ID")
    private Long id;
    
    @ApiModelProperty("用户名")
    private String username;
    
    @ApiModelProperty("真实姓名")
    private String name;
    
    @ApiModelProperty("电话号码")
    private String phone;
    
    @ApiModelProperty("电子邮箱")
    private String email;
    
    @ApiModelProperty("用户角色（0-管理员，1-普通用户）")
    private Integer role;
    
    @ApiModelProperty("是否启用（根据业务逻辑判断）")
    private Boolean enabled;
    
    @ApiModelProperty("创建时间")
    private LocalDateTime createdAt;
    
    @ApiModelProperty("更新时间")
    private LocalDateTime updatedAt;
} 